package com.testingedu.model;


/**
 * @author sxq
 * 
 * 培训资讯，就业信息，培训大纲，新闻动态
 * 
 * id			信息编号，主关键字
 * tUser		添加信息用户，外键关联用户表
 * tCategory	分类，外键关联分类表
 * title		标题
 * content		信息内容，正文
 * addTime		添加时间，“yyyy-MM-dd HH:mm:ss”
 * keyword1		关键字1
 * keyword2		关键字2
 * keyword3		关键字3
 *
 */
public class TTrainInfo implements java.io.Serializable{
	private static final long serialVersionUID = -8619499449026497968L;
	private String addTime;
	private String content;
	private Integer id;
	private String keyword1;
	private String keyword2;
	private String keyword3;
	private TCategory tCategory;
	private String title;
	private TUser tUser;
	private String level;	//新闻级别，1代表一般重要，2代表重要，3代表很重要，不同级别的新闻标题将在网页上显示不同的颜色
	private String top;		//新闻是否置顶，y代表是，n代表否
	public String getTop() {
		return top;
	}
	public void setTop(String top) {
		this.top = top;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public String getAddTime() {
		return addTime;
	}
	public String getContent() {
		return content;
	}
	public Integer getId() {
		return id;
	}
	public String getKeyword1() {
		return keyword1;
	}
	public String getKeyword2() {
		return keyword2;
	}
	public String getKeyword3() {
		return keyword3;
	}
	public TCategory gettCategory() {
		return tCategory;
	}
	public String getTitle() {
		return title;
	}
	public TUser gettUser() {
		return tUser;
	}
	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public void setContent(String content) {
		this.content = content;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setKeyword1(String keyword1) {
		this.keyword1 = keyword1;
	}
	public void setKeyword2(String keyword2) {
		this.keyword2 = keyword2;
	}
	public void setKeyword3(String keyword3) {
		this.keyword3 = keyword3;
	}
	public void settCategory(TCategory tCategory) {
		this.tCategory = tCategory;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void settUser(TUser tUser) {
		this.tUser = tUser;
	}

	

}
